<%--
  编辑地区信息
  User: cheng
  Date: 2015/10/15
  Time: 14:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="st" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="j" uri="j/tags" %>
<%@ taglib prefix="easyui" uri="http://www.joyi.cn/easyui/tags" %>
<st:dialog title="编辑">
  <easyui:form formId="formCity" formData="${result}" requestId="20151015000000000019">
    <easyui:hidden name="cityId"/>
  <table class="form_layout">
    <colgroup>
      <col style="width: 100px"/>
      <col/>
    </colgroup>
    <tr>
      <th><span>*</span>地区名称：</th>
      <td><easyui:textbox name="cityName" required="true"/></td>
    </tr>
    <tr>
      <th>所属地区：</th>
      <td><easyui:combotree name="parentId" requestId="20151015000000000018"/></td>
    </tr>
    <tr>
      <th>地区描述：</th>
      <td><easyui:textarea name="note"  height="100"/></td>
    </tr>
    <tr>
      <th>修改时间</th>
      <td><easyui:dateTime name="addedDateTime"  /> </td>
    </tr>
  </table>
  </easyui:form>
  <script>
    function doAfterSave(data,_dialogArguments){
      _dialogArguments.parent.reloadTreegrid();
    }

   $("#addedDateTime").datetimebox({

       onSelect: function(date){
         alert(date.getFullYear()+":"+(date.getMonth()+1)+":"+date.getDate());
       }


    });
  </script>
</st:dialog>
